import serviceAxios from "../utils/request"

const api = {
  Index: '/api/Index/index',
  Details: '/api/Index/details'
}

export function apiIndex (params) {
  return serviceAxios({
    url: api.Index,
    method: 'get',
    params
  })
}

export function apiDetails (params) {
  return serviceAxios({
    url: api.Details,
    method: 'get',
    params
  })
}

